﻿using System.Collections.Generic;
using BLL.Services.Friends.Listing;

namespace BLL.Services.Friends
{
    public interface IFriendsService
    {
        ListingFriends GetListingFriend(int userId,int page,int size,string column,int direction,ListingFriendsFilter filter);

        void Create(int userId, int friendId, bool isAccepted);

        IEnumerable<Friend> GetFriendsByUser(int userId);

        void Delete(int userId, int friendId);

        void Update(int userId, int friendId, bool isAccepted);

        void SetFriend(int userId, int friendId);

        ListingFriendsIsAccepted GetFriendIsAcceptedListing(int userId, int page, int size, string column, int direction, FriendsIsAcceptedFilter filter);

        SocialFriends GetFriendsByUserId(int userId);

        SocialFriends GetFriendsRequests(int userId);

    }
}
